import * as api from './api'

export default {
  // 获取网点
  getBranches: (params,isDisLoading) => {
    return api.get(`/api/branches/${params.lng}/${params.lat}`, params,{isDisLoading})
  },

  // 获得网点详情
  getBranchesDetail: (params) => {
    return api.get(`/api/branches/${params.id}/${params.lng}/${params.lat}`, params)
  },

}
